/**
 * @Project POL3Cay
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2011 TMH. All rights reserved
 * @Createdate Mar 18, 2011
 * @Createtime 5:12:39 PM
 */

package com.phomonline.game.card.sfs2x.dto
{
	import com.smartfoxserver.v2.protocol.serialization.SerializableSFSType;

	public class Errors implements SerializableSFSType
	{
		private var _errorMessages:Array;

		public function Errors()
		{
		}

		public function hasError():Boolean
		{
			return errorMessages.length > 0;
		}

		public function get errorMessages():Array
		{
			return _errorMessages;
		}

		public function set errorMessages(value:Array):void
		{
			_errorMessages = value;
		}
	}
}